Auto merge of #3198 - matklad:kill-command-type, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 13 Oct 2016 18:22:15 +0000 (11:22 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Oct 2016 18:22:15 +0000 (11:22 -0700)
commit5f2cc15de7cf51a362fb8320d8e81e6da67f1aab
treebcaceb576d3b3a418322c4670191ee56ee955c97
parentee3acca1035f41d87a6be91b42daf02c565ae996
parent7165bd584bb3d2112661f67394c82e34b477f2d2
Auto merge of #3198 - matklad:kill-command-type, r=alexcrichton

Remove CommandType struct

This removes `CommandType` struct as well as `cargo_rustc::process` function. So now all process creation goes thorough methods of `Compilation`.

This does change search path order from `util::dylib_path(), host_dylib_path()` to `host_dylib_path(), util::dylib_path()`, but I hope this is not a problem.

This also uncovers the fact that `rustdoc` is run sometimes with and sometimes without `host_dylib_path`. Is this intentional?